package com.aizhixin.lab.course.classes.repository;

import com.aizhixin.lab.course.classes.entity.LabClass;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

public interface LabClassRepository extends JpaRepository<LabClass, String> {
	
	public List<LabClass> findAllByDeleteFlag(Integer deleteFlag);
	
	public long deleteByCourseClassId(String courseClassId);
	
	public long deleteByChaperId(Long chaperId);
	
	public Long countByChaperId(Long chaperId);
	
}
